export default {
    "$schema": "https://houtai.baidu.com/v2/schemas/page.json#",
    "title": "IFrame 可以用来嵌入其他网站",
    "body": [
        {
            type: 'form',
            mode: 'inline',
            target: 'window',
            title: '',
            controls: [
                {
                    type: 'text',
                    name: 'keywords',
                    addOn: {
                        type: 'submit',
                        label: '搜索',
                        level: 'info',
                        icon: 'fa fa-search pull-left'
                    }
                }
            ]
        },

        {
            type: 'iframe',
            className: 'b-a',
            src: "https://www.baidu.com/s?wd=${keywords|url_encode}",
            height: 500
        }
    ]
}